package com.example.neusoftfood_813uk.activity;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;

import com.example.neusoftfood_813uk.R;

public class RegisterActivity extends AppCompatActivity {
    private EditText etuser,etpass,ettel;
    private Button btregister,btlogin;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_register);
        initView();

    }

    private void initView() {
        etuser = findViewById(R.id.textView8);
        etpass = findViewById(R.id.textView9);
        ettel = findViewById(R.id.textView10);
        btregister=findViewById(R.id.button3);
        btlogin=findViewById(R.id.button4);
        btlogin.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent2=new Intent(RegisterActivity.this,LoginActivity.class);
                startActivity(intent2);
            }
        });
    }

}
